/* 
 * File:   app_main.h
 * Author: CHG
 *
 * Created on 2014
 */

#ifndef APP_MAIN_H
#define	APP_MAIN_H

#include "typedef.h"





typedef enum{
	START_ST=0,
	CONFIG_ST,
	PAIR_ST,
	RUNNING_ST,
	SHUT_ST,
}WORKMODE_T;


//signal defined

#define MAIN_KEY_DOWN_MSG			0x0001
#define MAIN_RUNMODE_MSG			0x0002

#define MAIN_RESET_MSG			0x0010
#define MAIN_WRITE_MSG			0x0020
#define MAIN_READ_MSG				0x0040






void App_MainThread(void const *arg);



#endif
